package com.ruin.tech.ahri.model.vo;

import com.ruin.tech.ahri.model.dto.Article;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * @program ahri
 * @description: 文章详情展示对象
 * @author: ruin
 * @create: 2019/12/16 06:49
 */

@ToString
@Getter
@Setter
public class ArticleVO extends Article {
    /**
    * @description: 文章作者
    * @param: 
    * @return: 
    * @author: ruin
    * @date: 2019/12/16
    */
    private String author;
    
    /**
    * @description: 文章作者头像
    * @param: 
    * @return: 
    * @author: ruin
    * @date: 2019/12/16
    */
    private String authorAvatar;
    
    /**
    * @description: 登陆用户是否点赞该文章
    * @param: 
    * @return: 
    * @author: ruin
    * @date: 2019/12/16
    */
    private Integer isAppreciate;
    
    /**
    * @description: 评论信息
    * @param: 
    * @return: 
    * @author: ruin
    * @date: 2019/12/16
    */
    private List<CommentVO> commentList;
}
